package com.topscomm.mms;

import java.util.Map;

import com.topscomm.basic.BasicEntity;
import com.topscomm.mis.IMisService;
import com.topscomm.mms.pojo.MmsDeptExtraInfoEntity;
import com.topscomm.tap.ITapService;

public interface IMmsService <T, TDao> extends IMisService<T, TDao> {
    /**
     * @description: 根据编码截取一级部门编码
     * @param deptCode
     * @return java.lang.String
     * @author: wangxinhua
     * @date: 2021/7/7 14:47
     * @modify:
     */
    String getSubStringFirstDeptCode(String deptCode);

    /**
     * @description: 获取省区编码
     * @param deptCode
     * @return java.lang.String
     * @author: wangxinhua
     * @date: 2021/7/7 14:47
     * @modify:
     */
    String getDeptCommonCode(String deptCode);

    /**
     * @description: 获取省区编码
     * @param deptCode
     * @return java.lang.String
     * @author: wangxinhua
     * @date: 2021/7/7 14:47
     * @modify:
     */
    MmsDeptExtraInfoEntity getDeptCommonCodeEntity(String deptCode);

    /**
     * @description: 给fds发生消息队列，用于更新或新增角色
     * @return void
     * @author: hdy
     * @date: 2022/11/10 16:29
     * @modify:
     */
	void sendMessageToFds(Map<String, Object> map, String tableName);
}

